package com.zyl.pts.mapper;

import com.zyl.pts.domain.bean.IndexRecord;
import com.zyl.pts.domain.vo.DRVO.DRPageVO;
import com.zyl.pts.domain.vo.SourceVO.BatchQRInfoVO;
import com.zyl.pts.domain.vo.SourceVO.SourceInfoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @version v1.0
 * @ProjectName: product_source
 * @Package: com.zyl.pts.mapper
 * @ClassName: SourceMapper
 * @Description TODO()
 * @Author 翟玉龙
 * @Date 2024/11/25-9:38
 */
@Mapper
public interface SourceMapper {


    /**
     * 查询动物信息
     * @param animalId 动物id
     * @return {@link SourceInfoVO }
     */
    SourceInfoVO selectSourceInfo(String animalId);

    /**
     * 查询动物信息病症记录信息
     * @param animalId 动物id
     * @return {@link List }<{@link DRPageVO }>
     */
    List<DRPageVO> selectDRPageVO(String animalId);

    /**
     * 查询批次检疫信息
     * @param batchId 批次id
     * @return {@link BatchQRInfoVO }
     */
    BatchQRInfoVO selectBatchQRInfo(String batchId);

    /**
     * 查询指标记录
     * @param animalId 动物id
     * @return {@link List }<{@link IndexRecord }>
     */
    List<IndexRecord> selectIndexRecord(String animalId);
}
